﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ROrganizer.Client
{
    public class ImdbEntry
    {
        public string File { get; set; }
        public ImdbInfo Info { get; set; }
        public DateTime InfoTimestamp { get; set; }

        public override int GetHashCode()
        {
            return this.File.GetHashCode();
        }

        public override bool Equals(object obj)
        {
            var second = obj as ImdbEntry;

            return second != null
                && second.File == this.File;
        }
    }
}
